<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property int $type 类型
 * @property int $switch 自动应用开关：0=关 1=开
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class ChOpSchemeSyncSwitch extends MineModel
{
    const ENABLE =  1;

    const DISABLE =  0;

    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_op_scheme_sync_switch';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'type', 'switch', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'type' => 'integer', 'switch' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
